body{
    min-width: 540px;
    background-color: #f5f5f5;
}
/* 根据设计稿最大宽度设定为1280px */
@media screen and (min-width:1280px) {
    .container{
        width: 1280px;
    }
}
/* 小屏幕设备下 */
@media screen and (max-width:991px) {
    .nav{
        ul{
            li{
                float: left;
                width: 20%;
            }
        }
    }
    .row .header{
        padding: 0 25px 0 15px;
    }
    .article{
        margin-top: 10px;
    }
}
/* 超小屏幕设备下 */
@media screen and (max-width:767px) {
    .header{
        .nav{
            ul{
                li{
                    a{
                        font-size: 16px;
                        padding-left: 15px;
                    }
                }
            }
        }
    }
    .article{
        .news{
            ul{
                li{
                    width: 50%;
                    &:nth-child(1){
                        width: 100%;
                        p{
                            line-height: 30px;
                        }
                    }
                    a{
                        p{
                            font-size: 16px;
                            height: 30px;
                            line-height: 30px;
                            padding: 0 5px;
                        }
                    }
                }
                
            }
        }
    }
    .publish{
        .row{
            h3{
                font-size: 16px;
            }
        }
    }
}
ul{
    list-style: none;
    margin: 0;
    padding: 0;
}
a{
    color: #666;
    text-decoration: none;
}
a:hover{
    text-decoration: none;
}
.single-text-overflow{
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.double-text-overflow{
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient:vertical;
    -webkit-line-clamp: 2;
}
.header{
    padding-left: 0;
    .logo{
        background-color: #429ad9;
        a{
            display: block;
            img{
                display: block;
                max-width: 100%;
                margin: 0 auto;
            }
            span{
                color: #fff;
                text-align: center;
                height: 50px;
                line-height: 50px;
                font-size: 18px;
            }
        }
    }
    .nav{
        background-color: #eee;
        border-bottom: 1px solid #ccc;
        li{
            a{
                display: block;
                height: 50px;
                line-height: 50px;
                padding-left: 30px;
                font-size: 16px;
                &:hover{
                    background-color: #fff;
                    color: #333;
                }
                &::before{
                    vertical-align: middle;
                    padding-right: 5px;
                }
            }
        }
    }
}
.article{
    .news{
        li{
            float: left;
            width: 25%;
            height: 128px;
            padding-right: 10px;
            margin-bottom: 10px;
            &:nth-child(1){
                width: 50%;
                height: 266px;
                p{
                    display: block;
                    padding: 0 10px;
                    font-size: 16px;
                    line-height: 41px;
                }
            }
            a{
                position: relative;
                display: block;
                width: 100%;
                height: 100%;
                img{
                    width: 100%;
                    height: 100%;
                }
                p{
                    position: absolute;
                    bottom: 0;
                    left: 0;
                    height: 38px;
                    width: 100%;
                    background-color: rgba(0, 0, 0, .5);
                    color: #fff;
                    font-size: 12px;
                    margin-bottom: 0;
                    padding: 5px 10px;
                }
            }
            
        }
    }
}
.publish{
    border-top: 1px solid #ccc;
    margin-right: 10px;
    overflow: hidden;
    .row{
        border-bottom: 1px solid #ccc;
    }
    .pic{
        margin: 15px 0 15px -5px;
        padding-left: 0;
        padding-right: 10px;
        a{
            display: block;
            img{
                width: 100%;
            }
        }
        
    }
}
.aside{
    .banner{
        display: block;
        img{
            width: 100%;
        }
    }
    .hot{
        display: block;
        margin-top: 20px;
        padding: 0 20px 20px;
        border: 1px solid #ccc;
        span{
            border-radius: 0;
            margin-bottom: 20px;
        }
        p{
            font-size: 12px;
        }
    }
}